{{include file="../Common/header"}}
	<div id="row">
		<!--left-->
		{{include file="../Common/presonal_left"}}
		<!--right-->
		<div id="presonal-right">
			<h3 class="order-title">我的订单
				<div class="order-title-check">
					<a>全部订单</a><span>
				</div>
			</h3>
			{{foreach from="$orderData" $key="$k" value="$v"}}
			<div class="my-order">
				<div class="my-order-title">订单号：
					{{$v['gonum']}}
					<span>|</span>
					{{$v['name']}}
					<span>|</span>
					{{date('Y-m-d H:i:s',$v['gotime'])}}
					{{if value="$v['remark']"}}<br /> *备注：{{$v['remark']}}{{endif}}
				</div>
				
				<div class="order-state order-state{{$k}}">
					{{foreach from="$v['list']" value="$vv"}}
					<div class="order-list">
						<img src="{{$vv['pic']}}"/>
						<p>
							<span>{{$vv['gname']}}</span><br />
							<span>{{$vv['options']}}</span>
						</p>
					</div>
					{{endforeach}}
					<span class="wite">
						{{$v['gototal']}}元<br />	
						{{if value="$v['goorder']" eq 1}}已支付{{else if vlaue="$v['goorder']" eq 0}}待支付{{endif}}
					</span>
					<script type="text/javascript">
						var height=$('.order-state{{$k}}').outerHeight()/2-20; 
						$('.order-state{{$k}} .wite').css("top",height+"px");
					</script>
				</div>
			</div>
			{{endforeach}}
		</div>
		<!--/right-->
	</div>
	<!--footer-->
	{{include file="../Common/footer"}}
	<!--/footer-->
	</body>
</html>
